package com.ruoyi.workSafetyStandardization.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标准化考核--标准考核得分对象 scoring_standard_result
 * 
 * @author pengjie
 * @date 2023-12-18
 */
public class InspectionStandardResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考核标准主键 */
    private String standardResultId;

    /** 考核项目逐渐 */
    @Excel(name = "考核项目逐渐")
    private String itemResultId;

    /** 考核专业主键 */
    @Excel(name = "考核专业主键")
    private String majorResultId;

    /** 考核主表主键 */
    @Excel(name = "考核主表主键")
    private String inspectionId;

    /** 标准主键 */
    @Excel(name = "标准主键")
    private String standardId;

    /** 项目主键 */
    @Excel(name = "项目主键")
    private String itemId;

    /** 专业主键 */
    @Excel(name = "专业主键")
    private String majorId;

    /** 专业简称 */
    @Excel(name = "专业简称")
    private String majorName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String itemName;

    /** 项目内容 */
    @Excel(name = "项目内容")
    private String itemContent;

    /** 基本要求 */
    @Excel(name = "基本要求")
    private String basicRequire;

    /** 标准分 */
    @Excel(name = "标准分")
    private BigDecimal standardScore;

    /** 评价方法 */
    @Excel(name = "评价方法")
    private String judgeMethod;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 考核得分 */
    @Excel(name = "考核得分")
    private BigDecimal standardScoreResult;

    /** 扣分 */
    @Excel(name = "扣分")
    private BigDecimal standardScoreDeduct;

    /** 扣分原因 */
    @Excel(name = "扣分原因")
    private String standardDeductReason;

    /** 是否确认 */
    @Excel(name = "是否确认")
    private Long confirm;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private Long status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2（有无问题） */
    @Excel(name = "扩展字段2", readConverterExp = "有=无问题")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 是否缺项 */
    @Excel(name = "是否缺项")
    private Long missingItem;

    /** 必须整改 */
    @Excel(name = "必须整改")
    private Long mustBeRectified;

    /** 存在问题 */
    @Excel(name = "存在问题")
    private String existingProblems;

    /** 整改说明 */
    @Excel(name = "整改说明")
    private String rectificationInstructions;

    /** 附件 */
    @Excel(name = "附件")
    private String rectificatioFiles;

    /** 整改日期 */
    @Excel(name = "整改日期")
    private String rectificationDate;

    public void setStandardResultId(String standardResultId) 
    {
        this.standardResultId = standardResultId;
    }

    public String getStandardResultId() 
    {
        return standardResultId;
    }
    public void setItemResultId(String itemResultId) 
    {
        this.itemResultId = itemResultId;
    }

    public String getItemResultId() 
    {
        return itemResultId;
    }
    public void setMajorResultId(String majorResultId) 
    {
        this.majorResultId = majorResultId;
    }

    public String getMajorResultId() 
    {
        return majorResultId;
    }
    public void setInspectionId(String inspectionId) 
    {
        this.inspectionId = inspectionId;
    }

    public String getInspectionId() 
    {
        return inspectionId;
    }
    public void setStandardId(String standardId) 
    {
        this.standardId = standardId;
    }

    public String getStandardId() 
    {
        return standardId;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setMajorId(String majorId) 
    {
        this.majorId = majorId;
    }

    public String getMajorId() 
    {
        return majorId;
    }
    public void setMajorName(String majorName) 
    {
        this.majorName = majorName;
    }

    public String getMajorName() 
    {
        return majorName;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemContent(String itemContent) 
    {
        this.itemContent = itemContent;
    }

    public String getItemContent() 
    {
        return itemContent;
    }
    public void setBasicRequire(String basicRequire) 
    {
        this.basicRequire = basicRequire;
    }

    public String getBasicRequire() 
    {
        return basicRequire;
    }
    public void setStandardScore(BigDecimal standardScore) 
    {
        this.standardScore = standardScore;
    }

    public BigDecimal getStandardScore() 
    {
        return standardScore;
    }
    public void setJudgeMethod(String judgeMethod) 
    {
        this.judgeMethod = judgeMethod;
    }

    public String getJudgeMethod() 
    {
        return judgeMethod;
    }
    public void setSorting(Long sorting) 
    {
        this.sorting = sorting;
    }

    public Long getSorting() 
    {
        return sorting;
    }
    public void setStandardScoreResult(BigDecimal standardScoreResult) 
    {
        this.standardScoreResult = standardScoreResult;
    }

    public BigDecimal getStandardScoreResult() 
    {
        return standardScoreResult;
    }
    public void setStandardScoreDeduct(BigDecimal standardScoreDeduct) 
    {
        this.standardScoreDeduct = standardScoreDeduct;
    }

    public BigDecimal getStandardScoreDeduct() 
    {
        return standardScoreDeduct;
    }
    public void setStandardDeductReason(String standardDeductReason) 
    {
        this.standardDeductReason = standardDeductReason;
    }

    public String getStandardDeductReason() 
    {
        return standardDeductReason;
    }
    public void setConfirm(Long confirm) 
    {
        this.confirm = confirm;
    }

    public Long getConfirm() 
    {
        return confirm;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName) 
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName() 
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setMissingItem(Long missingItem) 
    {
        this.missingItem = missingItem;
    }

    public Long getMissingItem() 
    {
        return missingItem;
    }
    public void setMustBeRectified(Long mustBeRectified) 
    {
        this.mustBeRectified = mustBeRectified;
    }

    public Long getMustBeRectified() 
    {
        return mustBeRectified;
    }
    public void setExistingProblems(String existingProblems) 
    {
        this.existingProblems = existingProblems;
    }

    public String getExistingProblems() 
    {
        return existingProblems;
    }
    public void setRectificationInstructions(String rectificationInstructions) 
    {
        this.rectificationInstructions = rectificationInstructions;
    }

    public String getRectificationInstructions() 
    {
        return rectificationInstructions;
    }
    public void setRectificatioFiles(String rectificatioFiles) 
    {
        this.rectificatioFiles = rectificatioFiles;
    }

    public String getRectificatioFiles() 
    {
        return rectificatioFiles;
    }
    public void setRectificationDate(String rectificationDate) 
    {
        this.rectificationDate = rectificationDate;
    }

    public String getRectificationDate() 
    {
        return rectificationDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("standardResultId", getStandardResultId())
            .append("itemResultId", getItemResultId())
            .append("majorResultId", getMajorResultId())
            .append("inspectionId", getInspectionId())
            .append("standardId", getStandardId())
            .append("itemId", getItemId())
            .append("majorId", getMajorId())
            .append("majorName", getMajorName())
            .append("itemName", getItemName())
            .append("itemContent", getItemContent())
            .append("basicRequire", getBasicRequire())
            .append("standardScore", getStandardScore())
            .append("judgeMethod", getJudgeMethod())
            .append("sorting", getSorting())
            .append("standardScoreResult", getStandardScoreResult())
            .append("standardScoreDeduct", getStandardScoreDeduct())
            .append("standardDeductReason", getStandardDeductReason())
            .append("confirm", getConfirm())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("missingItem", getMissingItem())
            .append("mustBeRectified", getMustBeRectified())
            .append("existingProblems", getExistingProblems())
            .append("rectificationInstructions", getRectificationInstructions())
            .append("rectificatioFiles", getRectificatioFiles())
            .append("rectificationDate", getRectificationDate())
            .toString();
    }
}
